## example

## 库路径
link_directories(${OUTPUT_PATH}/lib)

## includes header
include_directories (${PROJECT_PATH}/include/server/message)

## Bin Signal test
set(SRC_BIN_SIGNAL    demo_signal.cc)
add_executable       (demo_signal ${SRC_BIN_SIGNAL})
set_target_properties(demo_signal PROPERTIES OUTPUT_NAME "DemoSignal")
target_link_libraries(demo_signal c msg pthread)
add_dependencies     (demo_signal libmsg)

include_directories (${PROJECT_PATH}/include/client)
include_directories (${PROJECT_PATH}/include/common)

## Bin DemoUartTest
set(SRC_BIN_UART      demo_uart_test.cc)
add_executable       (demo_uart_test ${SRC_BIN_UART})
set_target_properties(demo_uart_test PROPERTIES OUTPUT_NAME "DemoUartTest")
target_link_libraries(demo_uart_test c msg event_handler pthread)
add_dependencies     (demo_uart_test libmsg libevent_handler)

## Bin DemoUartTest
set(SRC_BIN_MQ       demo_mq_test.cc)
add_executable       (demo_mq_test ${SRC_BIN_MQ})
set_target_properties(demo_mq_test PROPERTIES OUTPUT_NAME "DemoMqTest")
target_link_libraries(demo_mq_test c msg event_handler rt pthread)
add_dependencies     (demo_mq_test libmsg libevent_handler)

